﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ExtractMethod
{
    class A
    {
        static void Main(string[] args)
        {
        }

        const double PI = 3.141592;

        double CalculatePaintNeeded(double paintPerUnit, double radius)
        {
            double area = CircleArea(radius);

            return area;
        }

        private static double CircleArea(double radius)
        {
            double area = PI * radius * radius;
            return area;
        }
    }
}
